<html lang="en">
<head>
    <meta charset="UTF-8">
  
    <title>函数返回值</title>
</head>
<body>
    <!-- <p id="rrr"></p> -->
    <p></p>
        <script>
                const text = "您好，我是xxx！"
                const textone = document.querySelector("p");

                // const textone = document.getElementById("rrr");
                // textone.textContent = text
                 textone.textContent = text.replace("xxx","llll");


    </script>
</body>
</html>